<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
	xmlns:t="https://code.google.com/p/rad-framework/taglib"
	xmlns:tt="https://code.google.com/p/rad-framework"
	xmlns:s="http://jboss.com/products/seam/taglib">
	
	<rich:simpleTogglePanel id="recent" switchType="client" label="#{messages['Recent']}"
		style="width:192px" styleClass="rad-framework-panel-bullets">
		<f:facet name="openMarker">
			<h:graphicImage value="/themes/default/images/rich-panel-header-max.gif"/>
		</f:facet>
		<f:facet name="closeMarker">
			<h:graphicImage value="/themes/default/images/rich-panel-header-min.gif"/>
		</f:facet>
		<ul>
			<ui:repeat value="#{recentHistory.history}" var="item">
				<tt:sidebar-item>
					<s:link value="#{item.label} : #{item.text}"
						view="#{item.viewId}">
						<f:param name="id" value="#{item.id}"/>
						<f:param name="cid" value="#{item.conversationId}"/>
					</s:link>
				</tt:sidebar-item>
			</ui:repeat>
		</ul>
	</rich:simpleTogglePanel>
</ui:composition>